package com.david.system.service;

import com.david.system.pojo.DTO.RePasswordDTO;
import com.david.system.pojo.Entity.UserEntity;
import com.david.system.pojo.VO.MenuWithRoleVO;
import com.david.system.pojo.Entity.UserInfo;

import java.util.List;


public interface SysUserService {

    UserEntity findByName(String username);

    List<MenuWithRoleVO> getMenuWithRole();

    void changePassword(RePasswordDTO rePasswordDTO);

    UserInfo getUserInfo(String username);
}
